const express = require('express')
const router = express.Router()

const artcateHander = require('../router_handler/artcate')
router.get('/cates', artcateHander.getArticleCates)
router.post('/addcates', artcateHander.addArticleCates)
router.get('/deletecate/:id', artcateHander.deleteCateById)
router.get('/cates/:id', artcateHander.getArtCateById)
router.post('/updatecate/:id', artcateHander.updateCateById)

module.exports = router